//
//  ImageDownLoader.h
//  WeiboSpace
//
//  Created by  linan4 on 12-3-9.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import"ImageDLoaderDelegate.h"
@interface ImageDLoader : NSObject {

	NSObject <ImageDLoaderDelegate> *_delegate;
	NSMutableData*	result;
	//UIImage * image;
    NSString *orginUrl;
	NSURLConnection *connection;
 
}

- (void)getImageFromURL:(NSString*)imageURL  delegate:(NSObject <ImageDLoaderDelegate>*)newDelegate;
-(void)cancel;
//@property(retain,nonatomic) UIImage * image;
@property(retain,nonatomic)NSString *orginUrl;
@property(assign,nonatomic)NSObject <ImageDLoaderDelegate> *_delegate;
@end
